from ftllibs.items.itemtools import ItemIconData

class Item_3146():
    def __init__(self):
        self.parent=False
        self.Name="Hextech Gunblade"
        self.IconFileName="3146.png"
        self.ID=3146
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['3144','1037','1053','3145','1052','1052']
        self.Builds_Into=[]
        self.Tags=['damage','life_steal','spell_damage']
        self.Costs = 600
        self.Total_Costs = 3625
        self.Description="+40 Attack Damage +70 Ability Power +15% Life Steal  UNIQUE Passive: +20% Spell Vamp  UNIQUE Active: Deals 300 magic damage and slows the target champion's Movement Speed by 50% for 3 seconds (60 second cooldown)."
        self.RichText_Description=""
        self.has_active=True
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Attack_Damage += 40.0
        self.parent.Ability_Power += 70.0
        self.parent.Life_Steal += 15.0
        # above is %
        self.parent.Spell_Vamp += 20.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


